package com.goldcn.user.service;

import com.goldcn.user.dao.SysPaymentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Author Tim Peng
 * mail: lmn_022@163.com
 * Date: 2017/7/24
 * Time: 9:37
 * To change this template use File | Settings | File Templates.
 */
@Service
public class SysPaymentService {

    @Autowired
    SysPaymentMapper sysPaymentMapper;

    public Object getPaymentInfo(Long companyID){
        List<Map<String,Object>> payment = sysPaymentMapper.selectAllByCompanyID(companyID);
        return payment;
    }
}
